﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="master_hall_search2.aspx.cs" Inherits="seal_master_hall_search2" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>ホール検索</title>
    <meta   http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link type="text/css" rel="stylesheet" href="../css/global.css" />
    <script src="../js/jquery-1.6.min.js" type="text/javascript"></script>
     <script>
        function fill(name,code,city,address,tel){
            window.opener.document.getElementById("HALL_NAME").value=name;
            window.opener.document.getElementById("HALL_PREF_CODE").selectedIndex=code;
            window.opener.document.getElementById("HALL_CITY").value=city;
            window.opener.document.getElementById("HALL_ADDRESS").value=address;
            window.opener.document.getElementById("HALL_TEL").value=tel;
            window.close();
        }
     </script>
</head>
<body>
    
<FORM id="formID" NAME="F_BODY" method="POST" runat="server">
<asp:HiddenField ID="pageNo" runat="server" Value="1" />

	<table width="400" border="0" cellspacing="0" cellpadding="0">
		<tbody><tr> 
			<td align="center"><font size="+2" color="#666666"><b>ホール検索</b></font></td>
		</tr>
	</tbody></table>
	<hr size="1" width="400" align="left">
	<table width="400" border="0" cellspacing="0" cellpadding="0" bgcolor="#999999">
		<tbody><tr> 
			<td> 
				<table width="400" border="0" cellspacing="1" cellpadding="3">
					<tbody><tr> 
						<td width="25%" nowrap="" bgcolor="#DDEEFF"><b>ホール名</b></td>
						<td bgcolor="#FFFFFF" width="75%">
						<asp:TextBox ID="HALL_NAME" MaxLength="80" runat="server"></asp:TextBox>
						</td>
					</tr>
					<tr> 
						<td width="25%" nowrap="" bgcolor="#DDEEFF"><b>都道府県(*)</b></td>
						<td bgcolor="#FFFFFF" width="75%">
							<asp:DropDownList ID="HALL_PREF_CODE" runat="server">
                                <asp:ListItem Selected Value="0" Text="すべて"></asp:ListItem>
                            </asp:DropDownList>
						</td>
					</tr>
					<tr> 
						<td width="25%" nowrap="" bgcolor="#DDEEFF"><b>所在地(*)</b></td>
						<td bgcolor="#FFFFFF" width="75%">
						<asp:TextBox ID="HALL_CITY" MaxLength="128" Columns="40" runat="server"></asp:TextBox>
						</td>
					</tr>
					<tr> 
						<td width="25%" nowrap="" bgcolor="#DDEEFF"><b>電話番号</b></td>
						<td bgcolor="#FFFFFF" width="75%">
							<asp:TextBox ID="HALL_TEL" MaxLength="11" Columns="13" runat="server"></asp:TextBox>
						</td>
					</tr>
				</tbody></table>
			</td>
		</tr>
	</tbody></table>
	<table width="400" border="0" cellspacing="0" cellpadding="0">
		<tbody><tr> 
			<td>
				<br>
				<asp:button ID="Button1" runat="server" text="検索" onclick="search" />
			</td>
		</tr>
	</tbody></table>


<asp:Panel ID="table" runat="server">
<!--検索結果ページ遷移用-->

	<table width="100%" border="0" cellspacing="0" cellpadding="0">
		<tr> 
			
			<td> 
			<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td>
				<table width="100%" border="0" cellspacing="0" cellpadding="0">
					<tr> 
						<td colspan="2"> 
							<p><b><font color="#666666">■検索結果</font></b></p>
						</td>
					</tr>
				</table>
				<hr size="1" width="100%" align="left">
				
				<table width="100%" border="0" cellspacing="2" cellpadding="2">
					<tr> 
					<td width="75%"><b><font color="#333333"><asp:Label ID="pages" runat="server"></asp:Label></font></b></td>
					<td width="5%" nowrap>
						
					</td>
					<td width="1%" nowrap>　</td>
					<td width="5%" nowrap> 
					    <asp:LinkButton ID="prebutton" runat="server" onclick="pre" ></asp:LinkButton>
						&nbsp;&nbsp;&nbsp;<asp:LinkButton ID="nextbutton" runat="server" onclick="next" ></asp:LinkButton>
					</td>
					</tr>
				</table>
				
				<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#999999">
					<tr> 
						<td> 
                            <asp:Table ID="datatable" runat="server" cellpadding="3" cellspacing="1" border="0"  width="100%">
                                <asp:TableHeaderRow height="30">
                                    <asp:TableHeaderCell BackColor="#DDEEFF" width="25%" height="30" ><b>ホール名</b></asp:TableHeaderCell>
                                    <asp:TableHeaderCell BackColor="#DDEEFF" width="75%" height="30" ><b>所在地</b></asp:TableHeaderCell>
                                    <asp:TableHeaderCell BackColor="#DDEEFF" width="75%" height="30" ><b>電話番号</b></asp:TableHeaderCell>
                                </asp:TableHeaderRow>
                             </asp:Table>
                        </td>
					</tr>
				</table>
				
				
				
						</td></tr></table>
			</td></tr></table>
</asp:Panel>
</FORM>			

<asp:Panel ID="none" runat="server">
    
	<table width="100%" border="0" cellspacing="0" cellpadding="0">
		<tr> 
			<td width="30" height="30">　</td>
			<td height="30"><b>　　該当するデータが見つかりませんでした</b></td>
		</tr>
	</table>
	
</asp:Panel>	

<hr size="1" width="400" align="left"><br><hr size="1" width="400" align="left"><table width="400" border="0" cellspacing="1" cellpadding="3">
		<tbody><tr> 

			<td align="center" bgcolor="#FFFFFF">ホールが検索されない場合、貼付報告画面の設置ホール入力欄に直接入力してください。</td>

		</tr>
	</tbody></table></body>
</html>